Generation of Web Applications from Uml Models Using an Xml Publishing Framework
نویسندگان
چکیده
In this paper we present a method for the semiautomatic transition from the design models of a Web application to a running implementation. The design phase consists of constructing a set of UML models such as the conceptual model, the navigation model and the presentation model. We use the UML extension mechanisms, i.e. stereotypes, tagged values and OCL constraints, thereby defining a UML Profile for the Web application domain. We show how these design models can automatically be mapped to XML documents with a structure conforming to their respective XML Schema definitions. Further on we demonstrate techniques how XML documents for the conceptual model are automatically mapped to conceptual DOM objects (Document Object Model). DOM objects corresponding to interactional objects are automatically derived from conceptual DOM objects and/or other interactional DOM objects. The XSLT mechanism serves to transform the logical presentation objects representing the user interface to physical presentation objects, e.g. HTML or WAP pages. Finally we present a production system architecture for Web applications using the XML publishing framework Cocoon which provides a very flexible way to generate documents comprising XSLT and XSP (eXtensible server pages) processors.
منابع مشابه
Towards a Framework for Mapping Between UML/OCL and XML/XQuery
The Unified Modeling Language is the standard language for modeling systems. UML has been extended to model web applications. At the same time, Web technology has become largely relying on XML documents. The structure of XML documents, namely the XML schema or DTD for these documents can be modeled using UML data structures. UML tools are usually concerned with the generation of the structure a...
متن کاملExtending a Conceptual Modeling Language For Adaptive Web Applications
The complexity of adaptive Web applications (AWA) is increasing almost every day. Besides impacting the implementation phase, this complexity must also be suitably managed while modeling the application. To this end, the paper proposes an approach for AWA called GIWA based on WA-UML (Web Adaptive Unified Modeling Language). This extension defines a set of stereotypes and constraints, which make...
متن کاملRepresenting WSDL with Extended UML
Web services are emerging to provide a systematic and extensible framework for interactions of applications, built on existing Web protocols and based on open XML standards. In spite of the existence of several middleware platforms that support Web service development, the lack of a solid methodological base for the development of Web services, as well as service-oriented applications, give ris...
متن کاملA Platform Independent Framework for Statecharts Code Generation
Control systems for telescopes and their instruments are reactive systems very well suited to be modelled using Statecharts formalism. The World Wide Web Consortium is working on a new standard called SCXML that specifies XML notation to describe Statecharts and provides a well defined operational semantic for run-time interpretation of the SCXML models. This paper presents a generic applicatio...
متن کاملToward automatic generation of mvc2 web applications
Most of server-side development technologies have emerged, since the invention of CGI in 1993. Facing this diversity and incessant improvement of Web technology, we have the feeling that we are in need of developing a tool which is able to produce the code from UML conception model. This paper examines the application of MDA approach in the engineering of web applications. Two meta-models were ...
متن کامل